package com.hhs.storage.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.hhs.storage.bean.AppUserAllInf;
import com.hhs.storage.bean.InputParam;
import com.hhs.storage.bean.JxcRole;
import com.hhs.storage.bean.User;
import com.baomidou.mybatisplus.service.IService;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author shadow
 * @since 2018-09-29
 */
public interface UserService extends IService<User> {
    public Map<String, Object> saveOrUpdate(User user,String roleStr);
    public Map<String, Object> dele(String id);
    public User aa(String id);
    public Map<String, Object> editRole(String userId,String[] roleArr);
    public Map<String,Object> modifypass(String oldpass, String newpass);
    public AppUserAllInf selectAllInf(String userid);

    Page<User> findPageChild(InputParam inputParam);

    String findIds(InputParam inputParam);

    int findonelever(InputParam inputParam);

    int findmaxcount(String id);
}
